package com.zygh.lz.service;

import com.zygh.lz.entity.Account;
import com.zygh.lz.vo.ResultBean;

import java.util.List;
import java.util.Map;

public interface AccountService {
    ResultBean sel(Account account);

    ResultBean add(Account account);

    ResultBean del(Account account);

    ResultBean update(Account account);

    List<Map<String,Object>> selByRoles(Long[] ids);

    ResultBean selectByLogin(String staff_tel, String staff_password);

    Account selByStaffTel(String staffTel);

    Account getByUsername(String username);

    ResultBean modifuByPass(Account account);
}
